home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global DA, DB, DC
- set DA to (0.5 * (random(4) - 1)) + 0.5
- set DB to (0.5 * (random(5) - 1)) + 1.0
- set DC to 15.0 * (random(7) - 1)
- set the trails of sprite 12 to 1
- set xA to the left of sprite 5 + 16
- set yA to the bottom of sprite 5 - 47
- set y0 to yA - (22.0 * DA * sin((DB * 0.0) + (DC * PI / 180.0)))
- set x0 to xA
- repeat with n = 1 to 88
- set x to n * 2.0 * PI / 180.0
- set x1 to (n * 2) + xA
- set y1 to yA - (18.0 * DA * sin((DB * x) + (DC * PI / 180.0)))
- set the locH of sprite 12 to x1
- set the locV of sprite 12 to y1
- updateStage()
- end repeat
- end
-